package com.kaishengit.dao.core;

import hirondelle.date4j.DateTime;

public class Test {

	public static void main(String[] args) {
		String str = "2102-01-01";
		String[] a = str.split("-");
		for(String s : a) {
			System.out.println(s);
		}
		
		DateTime dt = new DateTime(str);
		DateTime dd = dt.plusDays(1);
		String d = dd.toString();
		System.out.println(d);
		if(dt.isSameDayAs(dt)){
			System.out.println("adkjlka");
		}
	}
}
